package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.flow;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Schema(description = "管理后台 - 流水勾核确认 Request VO")
@Data
public class FinanceMoneyFlowConfirmReqVO {

    /**
     *
     */
    @NotNull(message = "驳回数据id不能为空", groups = Reject.class)
    private Long id;

    private String remark;
    private String attachment;


    /**
     * 驳回原因
     */
    @NotBlank(message = "驳回原因不能为空", groups = Reject.class)
    @Size(max = 100, message = "驳回原因不能超过{max}字", groups = Reject.class)
    private String rejectReason;

    public interface Reject {

    }
}
